<!DOCTYPE html>
<!-- saved from url=(0143)http//1071.vshop.weimob.com/cmd/pay_tips.html?wechatid=osXr8jmJXplWOznb-Ap2XwaLL3o4&v=bbbfdac324e1277e36edacca4edd5323&msg_ty=2&order_id=15022 -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>完成订单</title>
    
<meta charset="UTF-8">

<meta name="viewport" content=" initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link href="/css/ordercart/style.css" rel="stylesheet">
<link href="/css/ordersubmit/templates.css" rel="stylesheet">
    <script type="text/javascript" src="/js/jquery-1.8.3.min.js"></script>


</head>
<body>
<span id="orderId" hidden>[[${orderId}]]</span>
    <div class="lay_page page_order_result">
        <div class="lay_page_wrap">
            <div class="mod_cell ui_mt15">
                <div class="ui_pt10"><strong class="ui_color_strong">下单成功</strong></div>
                <dl class="mod_dl dl_tabel">
                    <dt class="ui_color_weak ui_align_right">订单编号：</dt>
                    <dd class="">[[${orderId}]]</dd>
<!--                    <dt class="ui_color_weak ui_align_right">需付金额：</dt>-->
<!--                    <dd class="total_price"><span class="ui_color_strong">￥</span></dd>-->
                </dl>
                <script type="text/javascript">
                    function getOrder(){
                        let url = "/doFindOrderByOrderId";
                        let params = {"orderId":$("#orderId").html()};
                        $.post(url,params,function(result){
                            freshTotalPrice(result.data);
                        })
                    };
                    function freshTotalPrice(dataLists) {
                        let sum = 0;
                        for (let data of dataLists) {
                            let price = formatPrice(data.product.price * data.productCounts);
                            sum += price;
                        }
                        $(".total_price span").html("￥"+sum+"元");
                    };
                    // getOrder();
                </script>
                <div class="mod_cell_hr"></div>
                <div class="qb_flex qb_mb10">
                    <a href="#" class="mod_btn btn_block qb_mr10 flex_box">查看订单</a>
                    <a href="/productlist?logType=5" class="mod_btn btn_block btn_em flex_box">再逛逛</a>
                </div>
            </div>
        </div>
    </div>
</body></html>